﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MP.Core.Config
{
    public class Constants
    {
        public const string WORKING_STATUS_ACTIVE = "1";
        public const string WORKING_STATUS_INACTIVE = "0";
        public const string GENDER_MAN = "0";
        public const string GENDER_WOMAN = "1";
        public const string QUALIFICATION_GURANTEE_ACTIVE = "1";
        public const string QUALIFICATION_GURANTEE_INACTIVE = "0";
        public const string RELATIVE_FATHER = "1";
        public const string RELATIVE_MOTHER = "2";
        public const string RELATIVE_HUSBAN = "3";
        public const string RELATIVE_WIFE = "4";
        public const string RELATIVE_CHILD = "5";
        public const string RELATIVE_BROTHER = "6";
        public const string RELATIVE_SISTER = "7";
        public const string RELATIVE_YOUNGERBROTHER = "8";


        public const string CANTEEN_TRANSFER_STATUS_NORMAL = "0";
        public const string CANTEEN_TRANSFER_STATUS_SALE = "1";
        public const string CANTEEN_TRANSFER_STATUS_OFFER = "2";

        //Image path
        public const string IMAGE_PATH = "/images/";
        public const string IMAGE_CATEEN_PATH = IMAGE_PATH + "canteen/";
        public const string IMAGE_NEWS = IMAGE_PATH + "news";
        public const string Lunch = "L";
        public const string Dinner = "D";

        //Image path
        public const string ATTACH_PATH = "/attach/";

        //LICH LAM VIEC

        //TINH TRANG DIEM DANH

        /// <summary>
        /// Binh thuong
        /// </summary>
        public const string AS_ABSENT_STAT_NORMAL = "D";
        /// <summary>
        /// Di tre
        /// </summary>
        public const string AS_ABSENT_STAT_LATE = "T";
        /// <summary>
        /// Vang khong ly do
        /// </summary>
        public const string AS_ABSENT_STAT_ABSENT_NO_REASON = "KP";
        /// <summary>
        /// Vang co ly do
        /// </summary>
        public const string AS_ABSENT_STAT_ABSENT_WITH_REASON = "CP";
        /// <summary>
        /// Bu cong
        /// </summary>
        public const string AS_ABSENT_STAT_ADDED_WORK_TIME= "BC";



        //TINH TRANG DOI CA



        /// <summary>
        /// Binh thuong
        /// </summary>
        public const string AS_TRANSFER_STAT_ROLLBACK = "99";

        /// <summary>
        /// Binh thuong
        /// </summary>
        public const string AS_TRANSFER_STAT_NORMAL = "0";
        /// <summary>
        /// Xin doi ca
        /// </summary>
        public const string AS_TRANSFER_STAT_APPLY = "1";    
        /// <summary>
        /// Nguoi kia da chiu doi ca
        /// </summary>
        public const string AS_TRANSFER_STAT_AGENT_ACCEPT = "2";

        /// <summary>
        /// Nguoi kia da chiu doi ca
        /// </summary>
        public const string AS_TRANSFER_STAT_AGENT_NOT_ACCEPT = "3";
        /// <summary>
        /// Nguoi quan ly da khong chap nhan cho doi ca
        /// </summary>
        public const string AS_TRANSFER_STAT_ADMIN_NOT_COMMIT = "4";
        /// <summary>
        /// Nguoi quan ly da chap nhan cho doi ca
        /// </summary>
        public const string AS_TRANSFER_STAT_ADMIN_COMMIT = "5";
        /// <summary>
        /// Nguoi quan ly cua nhom thu nhat da chap nhan cho doi ca, cho nguoi quan ly thu 2 duyet
        /// </summary>
        public const string AS_TRANSFER_STAT_ADMIN1_COMMIT = "6";

        /// <summary>
        /// Dang ky xin thay ca
        /// </summary>
        public const string AS_TRANSFER_STAT_REPLACE_APPLY = "11";
        /// <summary>
        /// Nguoi kia chiu lam thay ca
        /// </summary>
        public const string AS_TRANSFER_STAT_REPLACE_AGENT_ACCEPT = "12";
        /// <summary>
        /// Nguoi kia chiu lam thay ca
        /// </summary>
        public const string AS_TRANSFER_STAT_REPLACE_AGENT_NOT_ACCEPT = "13";
        /// <summary>
        /// Khong duyet cho thay ca
        /// </summary>
        public const string AS_TRANSFER_STAT_REPLACE_NOT_COMMIT = "14";
        /// <summary>
        /// Duyet cho thay ca
        /// </summary>
        public const string AS_TRANSFER_STAT_REPLACE_COMMIT = "15";
        /// <summary>
        /// Nguoi quan ly cua nhom thu nhat da chap nhan cho thay ca, cho nguoi quan ly thu 2 duyet
        /// </summary>
        public const string AS_TRANSFER_STAT_REPLACE_COMMIT1 = "16";


        //LOAI DOI CA HAY LAM THAY
        /// <summary>
        /// Doi ca
        /// </summary>
        public const string AS_TRANSFER_TYPE_TRANSFER = "1";
        /// <summary>
        /// Lam thay
        /// </summary>
        public const string AS_TRANSFER_TYPE_REPLACE = "2";


    }
}
